<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册界面</title>
</head>
<body align="center">
    <form action="#" method="post">
        <table align="center">
            <h2>用户注册</h2>
            <tr>
                <td><fieldset>
            <table align="center"><tr>
                <td> 用户名</td>
                    <td><input type="text"  class="name" name="username" /></td>
            </tr>
            <tr>
                <td> 密 码</td>
                    <td><input type="password"  class="pwd" pwd="password" /></td>       
            </tr>
            <tr>
                <td>密码确认</td>
                    <td><input type="password"  class="pwd" pwd="password" /></td>     
            </tr>
        </table><legend>身份验证-必填信息</legend>
    </fieldset></td></tr>
    <tr>
        <td><fieldset>
    <table align="center"><tr>
        <td></td>所在城市       
        <select name="address" >
            <option value="beijing">北京</option>
            <option value="shanghai" >上海</option>
            <option value="shenzhen">深圳</option>
        </select></td>
    </tr>
    <tr>
        <td>工作单位
        <input type="radio" name="gender" value="s" />学校
        <input type="radio" name="gender" value="a" />工厂 
        <input type="radio" name="gender" value="b" />公司
    </td>     
    </tr>
    <tr>
        <td>家庭住址
            <input type="text"  class="address" address="address" /></td>     
    </tr>
</table><legend>身份信息-选填信息</legend>
</fieldset></td></tr>
        <td><fieldset>
            <table align="center"><tr>
        <td></td>性别       
        <select name="xingbie" >
            <option value="boy">男孩</option>
            <option value="girl" >女孩</option>    
        </select></td>
    </tr>
    <tr>
        <td align="center">爱好
            <input type="checkbox" name="hobby" value="music" />音乐
            <input type="checkbox" name="hobby" value="sport"  />体育
            <input type="checkbox" name="hobby" value="computer"checked />计算机
    </td>     
    </tr>
    <tr>
        <td align="center">喜欢的公司
            <input type="checkbox" name="hobby" value="baidu" />百度
            <input type="checkbox" name="hobby" value="Microsoft"  />微软中国
            <input type="checkbox" name="hobby" value="guge" />谷歌中国   
    </tr><tr><td>个人简介<textarea name="text" cols="20" rows="5"></textarea></td></tr>
</table><legend>其他个人信息</legend>
</fieldset></td></tr> 
<tr><td align="center"><input type="submit" value="提交你的资料" /><input type="reset" value="重新填写资料" /></td></tr>
<tr><td><input type="button" value="无效按钮" disabled /></td></tr>
    </table>           
    </form>
    <a href="#" target="_self">回到顶部</a>
</body>
